﻿using Swimj.ApplicationLib.Entities;

namespace DataServer.ApplicationLib.Entities
{
    public class ReportEntity : AuditableEntity
    {
        public DateTime Stamp { get; set; }
        public string? SourceId { get; set; }
        public string? TemplateId { get; set; }
        public string? ReportId { get; set; }
        public string? ReportName { get; set; }
        public string? Status { get; set; }
        public string? CategoryId { get; set; }
        public string? DisplayName { get; set; }
        public string? RightCode { get; set; }
        public string? ApplicationId { get; set; }
        public bool CanExportExcel { get; set; }
        public string? TemplateUrl { get; set; }
        public long MaxExportRowCount { get; set; }
        public bool IsDisplayInNav { get; set; }
        public int ReportRankNum { get; set; }
        public bool IsDisplayInHomepage { get; set; }
        public string? HomepageCategoryId { get; set; }
        public string? PolyReportSet { get; set; }
        public string? PolyReportStyle { get; set; }
        public string? PolyReportSearchStyle { get; set; }
        public string? ExportExcelType { get; set; }
        public string? AsyncExcelMessageType { get; set; }
        public bool RoleBased { get; set; }
        public string? ExportFileType { get; set; }
        public bool IsAutoCsv { get; set; }
        public int AutoCsvCount { get; set; }

        /// <summary>
        /// 数据总数
        /// </summary>
        public long DataCount { get; set; }
    }
}